
shader {
       passive
       name "ringshader"
       shaderfile "shaders/ringshader.glsl"
}

model {
	name "gitscircle"
	modelfile "objects/ring.lwo"
	materials {
		glow {
			color gits_ringglow
		}
		ring2 {
			color gits_ring
		}
	}
}

model {
	name "m_scene6_landscape"
	modelfile "objects/scene6_tri.lwo"
	materials {
		glow {
			color glow
		}
		stone {
			color stone
			shader "shr_yfade"
			blend 1
		}
		road {
			color road
		}
	}
}

model {
	name "m_scene6_hexlandscape"
	modelfile "objects/scene5-greets_tri.lwo"
	materials {
		stone {
			color stone
		}
	}
}

// -----------------------------------------------------------------

group {
	name "run_greets"

	scene {
		prio 0
		name "gitspath1"
		file "scenes/scene6_gits_v002.lws"

		starttime 0
	}

	object {
		name "road6"
		transform "gitspath1.scene6_modo"
		model "m_scene6_landscape"
	}

	object {
		name "hexlandscape"
		transform "gitspath1.scene5-greets"
		model "m_scene6_hexlandscape"
	}
	
	linemesh {
		prio 110
		meshfile "objects/scene5-greets_wire_v002.lwo"
		transform "gitspath1.scene5-greets"
		color landscape_wire
	}

	bones {
	    mesh "m_robot_md5mesh"
	    shadermesh "m_robot_mesh"
		layer0 "a_run" "globaltimer.localtime" 1
		scale 0.1
		rotation (0 -0.25 0)
		transform "gitspath1.path_cc"
	}
	
	camera {
		prio 10
		name "gitscam1"
		transform "gitspath1.camera"
		fov 30
	}
	
	gitstext {
	         //passive
	         prio 30
	         name "gitstext1"
	         starttime 0
	         lettersizex 1.5
	         lettersizey 1.3
	         textcolors {
			 	gits_text1
			 	gits_text2
			 }
	         texture gitstexture
	         ringshader "ringshader"
	         ringmodel "gitscircle"
	         generatepath "gitspath1"
	         generateobject "gitspath1"
	         velocity (0.0 0.0 -0.5)
	         velocitymodifier 1.0
	         baserot (0.0 -0.25 0.0)
	         posradius 5.0
	         closest 1.0
	         timescale 1.0

			 // 13 secs total
			text {
				"ATUK"
				"Insider"
				"Mooz"
				"Spirit"
				"Zaico"
				"Johan"
				"damme"
				"Earthborn"
				"magitek"
				"noink"
				"qaztaz"
				"sphr"
				"temper"
				"EVERYONE"
			}
	}

	gitstext {
	         //passive
	         prio 30
	         name "gitstext2"
	         starttime 0
	         lettersizex 1.5
	         lettersizey 1.3
	         textcolors {
			 	gits_text1
			 	gits_text2
			 }
	         texture gitstexture
	         ringshader "ringshader"
	         ringmodel "gitscircle"
	         generatepath "gitspath1"
	         generateobject "gitspath2"
	         velocity (0.0 0.0 -0.5)
	         velocitymodifier 1.0
	         baserot (0.0 -0.25 0.0)
	         posradius 5.0
	         closest 1.0
	         timescale 1.0
	
			 // 13 secs total
			text {
				"dathui"
				"dipp"
				"ETONO"
				"ICE"
				"Master-B"
				"Sunray"
				"sys2"
				"#c++.se"
				"Hypercube"
				"TPOLM"
				"Triton"
				"TBL"
				"Scarab Corpse"
				"Grillmeisters"
				"The Crazy Germans"
				"Birdie Crew"
				"AT BIRDIE!!!"
			}
	}
	
	cracklepath {
		texture "t_cracklepathtexture"
		color crackle
		sceneobjects {
			//cubespath "cracklepath1"
			//cubespath "cracklepath2"
			//cubespath "cracklepath3"
			//cubespath "cracklepath4"
			// Along the whole path
			gitspath1 "cracklepath1"
		}
	}
}

